package com.caiheng.api.entity.setmeal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 套餐详情对象 set_meal_info
 *
 * @author ruoyi
 * @date 2022-06-06
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("set_meal_info")
public class SetMealInfo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 套餐id
     */
    private Integer mealId;

    /**
     * 套餐的名称
     */
    private String mealInfoName;

    /**
     * 套餐规格金额
     */
    private BigDecimal mealMoney;

    /**
     *  实际需要支付的金额
     */
    private BigDecimal payMoney;

    /**
     * 赠送的金额
     */
    private BigDecimal mealGiveMoney;

    /**
     * 状态 0 - 未启用 1 - 已启用
     */
    private Integer state;

    /**
     *  图片
     */
    private String infoImg;

    /**
     *  是否有赠品
     */
    private Integer isHasReward;

    /**
     * 备注信息
     */
    private String remark;

    @TableField(exist = false)
    private Integer isCheck = 0;

}
